package com.saasovation.identityaccess.application.representation;

import com.saasovation.identityaccess.domain.model.identity.Tenant;

public class TenantRepresentation {
    private boolean active;
    private String description;
    private String name;
    private String tenantId;

    public TenantRepresentation(Tenant tenant) {
        this();
        this.setActive(tenant.isActive());
        this.setDescription(tenant.description());
        this.setName(tenant.name());
        this.setTenantId(tenant.tenantId().id());
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    protected TenantRepresentation() {
        super();
    }
}
